#ifndef __TERRAIN_CONFID_H__
#define __TERRAIN_CONFIG_H__

///Release register pointers
#define SAFE_DEL(p)			{if (p){delete p; p = 0;}}
#define SAFE_DEL_ARRAY(p)	{if (p){delete[] p; p = 0;}}

///Config heightfeild for load data
//Value:
//	HEIGHT_LEVEL: Setup height level when load
//	HEIGHT_FILTER: Setup height filter3x3, get average height level of 8 vertex around and it
//	HEIGHT_DATA_FILE: Link for load raw file
#define HEIGHT_LEVEL	true
#define	HEIGHT_FILTER	false
#define HEIGHT_DATA_FILE "../Resources/Textures/HeightMap.raw"

///Config size of vertex in map for generate
#define VERTEX_ROWS		256
#define VERTEX_COLS		256

#endif